public class Tourist implements Visitor {
    @Override
    public void visit(TangSeng tangSeng) {
        tangSeng.heal();

    }

    @Override
    public void visit(WuKong wuKong) {
        wuKong.fight();

    }

    @Override
    public void visit(WuNeng wuNeng) {
        wuNeng.endureDamage();

    }
}
